@RichPackage("DiamondMoonCake")
class MoonCake {
    static title = "moonCake"
    weight = "200g"
}
function RichPackage(title) {
    return function (target) {
        target.price = "￥999999999999.99"
        target.handing = "鸽子蛋那么大的💎"
        target.title=title
    }


}
let m = new MoonCake()
console.log(MoonCake)
console.log(m.price)
console.log(MoonCake.price)
console.log(MoonCake.title)